public class Course {
    /*
    课程的详细信息
     */
    private String courseId;//课程id
    private String name;//课程名称
    private int hours;//课程学时
    private double credits;//课程学分
    private String startWeek;//开始周
    private String endWeek;//结束周
    private String dayOfWeek;//安排在周几
    private String classPeriod;//安排在第几节课
    private String location;//安排在教室

    public Course(String courseId, String name, int hours,
                  double credits, String startWeek, String endWeek, String dayOfWeek, String classPeriod, String location) {
        this.courseId = courseId;
        this.name = name;
        this.hours = hours;
        this.credits = credits;
        this.startWeek = startWeek;
        this.endWeek = endWeek;
        this.dayOfWeek = dayOfWeek;
        this.classPeriod = classPeriod;
        this.location = location;
    }

    public String getCourseId() {
        return courseId;
    }

    public void setCourseId(String courseId) {
        this.courseId = courseId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getHours() {
        return hours;
    }

    public void setHours(int hours) {
        this.hours = hours;
    }

    public double getCredits() {
        return credits;
    }

    public void setCredits(double credits) {
        this.credits = credits;
    }

    public String getStartWeek() {
        return startWeek;
    }

    public void setStartWeek(String startWeek) {
        this.startWeek = startWeek;
    }

    public String getEndWeek() {
        return endWeek;
    }

    public void setEndWeek(String endWeek) {
        this.endWeek = endWeek;
    }

    public String getDayOfWeek() {
        return dayOfWeek;
    }

    public void setDayOfWeek(String dayOfWeek) {
        this.dayOfWeek = dayOfWeek;
    }

    public String getClassPeriod() {
        return classPeriod;
    }

    public void setClassPeriod(String classPeriod) {
        this.classPeriod = classPeriod;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }
}
